package com.ydl.shopping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydl.shopping.domain.TbRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbRoleMapper extends BaseMapper<TbRole> {
    TbRole queryById(@Param("id") Long id);

    List<TbRole> queryBatchIds(@Param("idList") List<Long> idList);

    List<TbRole> queryList(TbRole tbRole);
}
